﻿<!DOCTYPE html>
<html>
<head id="Head1">

    <!-- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -->
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Styles/StyleSheet.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>

    <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />

    <meta name="application-name" content="@ViewBag.ApplicationTitle" />
    <meta name="msapplication-tooltip" content="@ViewBag.ApplicationTitle" />
    <meta name="msapplication-window" content="width=1024;height=768" />
    <meta name="msapplication-task" content="name=Administration;action-uri=/Admin/Admin;icon-uri=/favicon.ico" />
    
    <meta name="msapplication-navbutton-color" content="#FDA050" />
    <meta name="msapplication-starturl" content="/" /> 

</head>

<body>
    <div class="mainContainer">
        <div class="boxTL">
            <div class="boxTR">
                <div class="boxTM">
                </div>
            </div>
        </div>
        <div class="clear">
        </div>
        <div class="padContainer">
            <!-- Header Starts -->
            <div>
                <div class="header">
                    <div class="heading">@ViewBag.ApplicationTitle</div>
                    <div class="topLinks">
                        @Html.Partial("_LogOnPartial")
                    </div>
                    <div class="clear">
                    </div>
                </div>
                <!-- Header Ends -->
                <!-- Primary Navigation Starts -->
                <div class="navLeft-bg">
                    <div class="clear">
                    </div>
                </div>
                <div class="nav-menu">
                    <ul id="nav-menu">                        
                        @{
                            // Add applications tabs based on tab names specified in application feed
                            string currentTab = ViewBag.CurrentTab;
                            string current = "class=\"current\"";

                          }
                        <li><a @if (currentTab == null || currentTab.Equals("Home"))
                               { WriteLiteral("class=\"current\""); }  href="/Home">Home</a>
                        </li>
                        <li class="divder"><a @if (currentTab != null && currentTab.Equals("Admin"))
                                              { WriteLiteral("class=\"current\""); }   href="/Admin/Admin">Admin</a>
                        </li>
                            @if (ViewBag.MachineName != "")
                            {
                        <li><a>MachineName:@ViewBag.MachineName</a></li>
                        <li><a>InstanceID:@ViewBag.InstanceId</a></li>
                            }
                    </ul>
                </div>
                <div class="navRight-bg">
                    <div class="clear">
                    </div>
                </div>
            </div>
            <!-- Primary Navigation Ends -->
            <!-- Body Content Starts -->
            <div class="body-block">
                <div class="clear">
                </div>
                <div id="ContentPlaceHolder_Body" >@RenderBody()</div>
            </div>
            <div class="clear">
            </div>
            <!-- Body Content Ends -->
            <!-- Footer Starts -->
        </div>
        <div class="footer">
        </div>
    </div>
</body>

</html>
